import Layout from '@/views/layout/Layout.vue'
import iconHome from '@/assets/images/home-dark.png'

export default {
  path: '/home',
  name: 'home',
  component: Layout,
  meta: {
    title: '一级菜单',
    icon: iconHome,
  },
  children: [
    {
      path: '/home/index',
      name: 'homeIndex',
      component: () => import(/* webpackChunkName: "homeIndex" */ './HomeView.vue'),
      meta: {
        title: '二级菜单1',
        levelUp: true, // 将该菜单提到一级菜单，即不显示层级
      },
    },
  ],
}
